﻿@{
    ViewData["Title"] = "首页";
}
<div class="container" ng-controller="indexCtrl">
    <ul class="ul_list">
        <li ng-repeat="post in posts">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-sm-1">
                        <p>{{post.like}}</p>
                        <b>赞</b>
                    </div>
                    <div class="col-sm-1">
                        <p>{{post.answer}}</p>
                        <b>回复</b>
                    </div>
                    <div class="col-sm-1">
                        <p>{{post.browse}}</p>
                        <b>浏览</b>
                    </div>
                    <div class="col-sm-9">
                        <p>{{post.author}}{{questions_answer}}</p>
                        <h3>{{post.title}}<small><ul><li ng-repeat="tag in tags">{{tag}}</li></ul></small></h3>
                    </div>
                </div>
            </div>
        </li>
    </ul>
</div>